Adding files from Create Block Theme - #5
Merged
Conversation
Reviewer's GuideUpdates the IndigoTree 2025 block theme templates to match a new Create Block Theme export: reworks header/footer structure and content, introduces a reusable breadcrumbs pattern, normalises archive/search/home/single layouts and queries, and adds custom Gravity Forms button styling. Flow diagram for updated templates and breadcrumbs pattern usageflowchart TD
subgraph theme_parts[Theme_structure]
direction TB
header[template_part_header]
footer[template_part_footer]
breadcrumbs_pattern[pattern_breadcrumbs]
end
subgraph templates[Core_templates]
direction TB
tpl_index[index_html]
tpl_page[page_html]
tpl_page_home[page_home_html]
tpl_home[home_html]
tpl_archive[archive_html]
tpl_search[search_html]
tpl_single[single_html]
tpl_404[404_html]
end
subgraph shared_layout[Shared_layout_features]
direction TB
main_content_width[contentSize_1250px_on_index_page_page_home_home_archive_search]
primary_cover_banners[primary_overlay_covers_on_home_archive_search_single]
post_queries[post_queries_perPage_10_with_bound_post_date]
end
user_request[User_HTTP_request]
wp_hierarchy[WordPress_template_hierarchy]
user_request --> wp_hierarchy --> templates
%% header and footer usage
templates --> header
templates --> footer
%% breadcrumbs pattern usage
tpl_404 --> breadcrumbs_pattern
tpl_search --> breadcrumbs_pattern
tpl_archive --> breadcrumbs_pattern
tpl_home --> breadcrumbs_pattern
tpl_single --> breadcrumbs_pattern
%% layout and query normalization
templates --> shared_layout
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- In the header template, the top bar group (
site-header__top) is now rendered empty—either remove this wrapper or restore its intended content to avoid unnecessary markup and potential layout confusion. - The main site identity in
header.htmlis now a hard-coded link to a specific environment URL; consider replacing this with asite-logoorsite-titleblock (or a home-relative URL) so it works correctly across environments. - In
parts/footer.html, the second column heading (h-useful-links) is empty but still output with an ID—either provide meaningful text for accessibility/semantics or remove the heading element altogether.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- In the header template, the top bar group (`site-header__top`) is now rendered empty—either remove this wrapper or restore its intended content to avoid unnecessary markup and potential layout confusion.
- The main site identity in `header.html` is now a hard-coded link to a specific environment URL; consider replacing this with a `site-logo` or `site-title` block (or a home-relative URL) so it works correctly across environments.
- In `parts/footer.html`, the second column heading (`h-useful-links`) is empty but still output with an ID—either provide meaningful text for accessibility/semantics or remove the heading element altogether.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary by Sourcery
Update theme templates, header/footer, and styling to align the IndigoTree 2025 theme with Berkhamsted Counselling design and shared components.
Enhancements: